package com.danbay.cloud.device.entity.electricmeter;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 房源-电表计费分组表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_em_fee_group")
public class EmFeeGroup {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 所属规则主键
     */
    private Long ruleId;

    /**
     * 所属组号
     */
    private Long groupNo;

    /**
     * 电表的deviceId
     */
    private String deviceId;

    /**
     * 房源ID
     */
    private String roomId;

    /**
     * 0正常，1删除
     */
    private Integer del;

    private Date addTime;
}
